package com.jjh.winterframework.test;

import com.jjh.winterframework.annatation.Autowired;
import com.jjh.winterframework.annatation.Component;

@Component
public class UserService {

    @Autowired
    private BookService bookService;


    public void userinfo(){
        System.out.println("获取用户信息...");
        bookService.getBook();
    }



}
